package String.StringDemo;

public class 手机号屏蔽 {
    public static void main(String[] args) {
        String phoneNumber="17325602002";

        // 字符截取
        String start=phoneNumber.substring(0,3);
        String end=phoneNumber.substring(7);

        // 拼接
        String result=start+"****"+end;

        System.out.println(result);

    }
}
